package com.ruoyi.schoolSys.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 成绩管理对象 grade
 * 
 * @author ruoyi
 * @date 2024-02-19
 */
public class Grade extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编号 */
    @Excel(name = "编号")
    private Long id;

    /** 课程id */
    @Excel(name = "课程id")
    private Long courseId;

    /** 成绩 */
    @Excel(name = "成绩")
    private Long grade;

    /** 学生id */
    @Excel(name = "学生id")
    private Long studentId;

    /** 学期 */
    @Excel(name = "学期")
    private String term;

    /** 班级id */
    @Excel(name = "班级id")
    private Long classId;

    /** 备注 */
    @Excel(name = "备注")
    private String remarkMsg;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setCourseId(Long courseId) 
    {
        this.courseId = courseId;
    }

    public Long getCourseId() 
    {
        return courseId;
    }
    public void setGrade(Long grade) 
    {
        this.grade = grade;
    }

    public Long getGrade() 
    {
        return grade;
    }
    public void setStudentId(Long studentId) 
    {
        this.studentId = studentId;
    }

    public Long getStudentId() 
    {
        return studentId;
    }
    public void setTerm(String term) 
    {
        this.term = term;
    }

    public String getTerm() 
    {
        return term;
    }
    public void setClassId(Long classId) 
    {
        this.classId = classId;
    }

    public Long getClassId() 
    {
        return classId;
    }
    public void setRemarkMsg(String remarkMsg) 
    {
        this.remarkMsg = remarkMsg;
    }

    public String getRemarkMsg() 
    {
        return remarkMsg;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("courseId", getCourseId())
            .append("grade", getGrade())
            .append("studentId", getStudentId())
            .append("term", getTerm())
            .append("classId", getClassId())
            .append("remarkMsg", getRemarkMsg())
            .append("updateTime", getUpdateTime())
            .append("createTime", getCreateTime())
            .toString();
    }
}
